﻿using System.Collections.ObjectModel;

namespace ElectronicCommerce.Framework.Web.Configuration.ImageSize
{
    /// <summary>
    /// Image Size Item Group Collection
    /// </summary>
    public class ImageSizeItemGroupCollection : KeyedCollection<string, ImageSizeItemGroup>
    {

        protected override string GetKeyForItem(ImageSizeItemGroup item)
        {
            return item.Name;
        }
    }
}
